package org.demo.base.proxy.dynamicproxy;

import org.demo.base.proxy.dynamicproxy.impl.StudentServiceImpl;

public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new StudentServiceImpl());
        IStudentService studentService = (IStudentService) proxyFactory.getPorxyInstance();
        studentService.study();
    }
}
